<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
    <div id="app">
        <input v-model="mytext">                                <br>
        <textarea v-model="mytext"></textarea>                  <br>
        <input type="checkbox" v-model="isChecked">记录用户名    <br>
        <p>你喜欢的运动？
            <input type="checkbox" v-model="checkgroup" value="游泳">游泳
            <input type="checkbox" v-model="checkgroup" value="滑冰">滑冰
            <input type="checkbox" v-model="checkgroup" value="长跑">长跑
        </p>

        <p>你最喜欢的编程语言？
            <input type="radio" v-model="picked" value="php">php
            <input type="radio" v-model="picked" value="js">js
            <input type="radio" v-model="picked" value="java">java
        </p>
    </div>

    <script>
        let vm = new Vue({
            el: '#app',
            data: {
                mytext: '',
                isChecked: true,
                checkgroup: [],
                picked: 'js'
            }
        })
    </script>
</body>
</html>